package com.liz.lizrpccore.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author liangGongWei
 * @description
 * @create 2021-08-05 21:37
 **/

@Data
@Component
@ConfigurationProperties(prefix = "liz.redis")
public class MyRedisProperties {

    /**
    * ip
    */
    private String host;

    /**
    * 密码
    */
    private String password;
}
